Skip to main content

Post/send

info

This is documentation for Mok.one’s 2.0.0 API, which we released on 2/15/22.

If you implemented the Mok.one API prior to 2/15/22 you can find Mok.one’s 1.0.0 docs here.

Custom Formatting

To improve working with cURL, Mok.one also supports a custom urlencoded format that can be used in the place of JSON. This format allows nested data values using square bracket syntax. This is useful when passing profile and data parameters. For example, a cURL --data option with the profile parameter and a nested email would look like this:

--data "profile[email][email protected]"

Send Response Data

Sending a message is an async process. So upon submission of a message, only a requestId will be returned.

{ "requestId": "87e7c05b-4f46-fda24e356e23" }